package com.sun.eureka.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sun.eureka.remoter.Order;

@FeignClient(value="micro-order-server-ribbon")
public interface IOrderService {
	
	@RequestMapping("order/{id}")
	public Order get(@PathVariable("id") Long orderId);
	
}
